package com.tas.test;

import org.noear.solon.Solon;
import org.noear.solon.core.event.AppLoadEndEvent;

/**
 * @author kevin
 */

public class ParamTestApp {

  public static void main(String[] args) {
    Solon.start(ParamTestApp.class, args, (app)->{
      app.onEvent(AppLoadEndEvent.class, event->{
        Integer port = app.cfg().serverPort();
        System.out.println("当前配置的port:" + port);
      });
    });
  }
}
